.layoutSidebar {
    position: relative;
    height: 100%;
    width: 315px;
    color: #fff;
    margin-left: 30px;

    &::before {
        content: '';
        position: absolute;
        top: -25px;
        bottom: -30px;
        left: -28px;
        right: -28px;
        pointer-events: none;
        background: url('../img/layout/layoutSidebar_bg.png') no-repeat 0 0;
        background-size: 100% 100%;
        z-index: -1;
    }

    &_hd {
        height: 50px;
        padding-top: 20px;
        box-sizing: border-box;
        padding-left: 15px;

        &_title {
            display: inline-block;
            font-size: 22px;
            line-height: 1;
            background-image: linear-gradient(0deg, #53e5ff, #fff, #fff044);
            -webkit-background-clip: text;
            color: transparent;
            font-weight: bold;

        }
    }

    &_bd {
        height: calc(100% - 50px);
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 15px;
        box-sizing: border-box;

        &_tree {
            height: calc(100% - 50px)
        }

    }

    .emergency-ranks-hide {
        width: 33px;
        height: 142px;
        position: absolute;
        right: -77px;
        top: 35%;
        background: url("../../assets/img/sliderBar/hide.png") no-repeat 50% 50%;
        background-size: 100% 100%;
        cursor: pointer;
    }

    .emergency-ranks-show {
        width: 33px;
        height: 142px;
        position: absolute;
        top: 30%;
        left: 5px;
        background: url("../../assets/img/sliderBar/show.png") no-repeat 50% 50%;
        background-size: 100% 100%;
        cursor: pointer;
    }

    .emergency-ranks {
        width: 100%;
        height: 100%;
        padding-top: 0.1px;
        padding-left: 4px;

        div,
        ul,
        li,
        input,
        span {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        .emergency-ranks-title {
            width: 100%;
            height: 30px;
            margin: 18px 0 10px 0;
            padding-left: 5%;

            .emergency-ranks-title-text {
                width: 140px;
                height: 30px;
                line-height: 30px;
                font-size: 22px;
                background-image: -webkit-gradient(linear,
                        left bottom,
                        left top,
                        from(#53e5ff),
                        color-stop(#fff),
                        to(#fff044));
                background-image: linear-gradient(0deg, #53e5ff, #fff, #fff044);
                -webkit-background-clip: text;
                color: transparent;
                font-weight: bold;
            }
        }

        .emergency-ranks-search {
            width: 90%;
            height: 40px;
            margin: 0 auto;
            position: relative;

            input::-webkit-input-placeholder {
                color: #c2e7f2;
                font-size: 15px;
            }

            input:-moz-placeholder {
                color: #c2e7f2;
                font-size: 15px;
            }

            input:-ms-input-placeholder {
                color: #c2e7f2;
                font-size: 15px;
            }

            .emergency-ranks-searchInput {
                width: 100%;
                height: 40px;
                line-height: 40px;
                padding: 15px;
                border: none;
                outline: none;
                background: url("../../assets/img/sliderBar/searchBox.png") no-repeat 50% 50%;
                background-size: 100% 110%;
                color: #7de5fa;
                font-size: 18px;
            }

            .emergency-ranks-searchIcon {
                display: block;
                width: 35px;
                height: 33px;
                background: url("../../assets/img/sliderBar/searchBtn.png") no-repeat 50% 50%;
                background-size: 100% 100%;
                cursor: pointer;
                position: absolute;
                top: 4px;
                right: 5px;
            }
        }

        .emergency-ranks-ul::-webkit-scrollbar {
            width: 4px;
        }

        .emergency-ranks-ul::-webkit-scrollbar-thumb {
            border-radius: 10px;
            -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
            background: #16e5f6;
        }

        .emergency-ranks-ul::-webkit-scrollbar-track {
            -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
            border-radius: 0;
            background: rgba(0, 0, 0, 0.3);
        }

        .emergency-ranks-ul {
            width: 94%;
            height: calc(100% - 160px);
            margin-top: 10px;
            padding-left: 20px;
            overflow-x: hidden;
            overflow-y: auto;

            .activeLi {
                background: url("../../assets/img/sliderBar/selectionBg.png") no-repeat 50% 50%;
                background-size: 100% 110%;
            }

            .emergency-ranks-list {
                list-style: none;
                width: 98%;
                height: 44px;
                line-height: 44px;
                margin: 2px 0;
                padding: 0 5px;
                cursor: pointer;
            }
            .emergency-ranks-list-nodata{
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                color: #909399;
            }

            .emergency-ranks-list-edit {
                display: block;
                float: left;
                width: 18px;
                height: 18px;
                margin: 13px 0 13px 10px;
                background: url("../../assets/img/sliderBar/editBtn.png") no-repeat 50% 50%;
                background-size: 100% 100%;
            }

            .emergency-ranks-list-save {
                display: block;
                float: left;
                width: 20px;
                height: 20px;
                margin: 12px 0px 12px 9px;
                background: url("../../assets/img/sliderBar/saveBtn.png") no-repeat 50% 50%;
                background-size: 100% 100%;
            }

            .emergency-ranks-list-name {
                display: block;
                float: left;
                width: calc(100% - 60px);
                height: 44px;
                line-height: 44px;
                font-size: 18px;
                color: #c2e7f2;
                margin-left: 10px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .emergency-ranks-list-input {
                color: #ffffff;
                background: none;
                width: 68%;
                height: 42px;
                border: none;
                outline: none;
                padding-left:9px;
                font-size: 18px;
            }

            .emergency-ranks-list-position {
                display: block;
                float: right;
                width: 18px;
                height: 20px;
                margin: 12px 10px;
                background: url("../../assets/img/sliderBar/position.png") no-repeat 50% 50%;
                background-size: 100% 100%;
            }
        }

        .emergency-ranks-bottom {
            color: #c2e7f2;
            width: 94%;
            height: 40px;
            line-height: 40px;
            padding: 0 20px;
            margin: 10px 3%;
            background: url("../../assets/img/sliderBar/bottomBg.png") no-repeat 50% 50%;
            background-size: 100% 100%;
            font-size: 18px;
        }
    }
}